package com.cq.hd.order.controller;

import com.cq.hd.common.response.Result;
import com.cq.hd.common.response.ResultGenerator;
import com.cq.hd.order.api.TbInvoiceRecordApi;
import com.cq.hd.order.service.TbInvoiceRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 发票记录表 前端控制器
 * </p>
 *
 * @author mYunYu
 * @since 2024-02-18
 */
@RestController
public class TbInvoiceRecordController implements TbInvoiceRecordApi {

    @Autowired
    private TbInvoiceRecordService invoiceRecordService;

    @Override
    public Result<Boolean> invoiceAgentAmtJob() {
        return ResultGenerator.success(invoiceRecordService.invoiceAgentAmtJob());
    }
}
